<h1>Editing trial_period</h1>

<% form_for(@trial_period) do |f| %>
  <%= f.error_messages %>


  <p>
    <%= f.label :period %><br />
    <%= f.text_field :period %>
  </p>
  <p>
    <%= f.label :frequency %><br />
    <%= f.select :frequency, [RefDate::DAY, RefDate::MONTH].collect %>
  </p>
  <!-- <p>
    <%= f.label :date_start %><br />
    <%= f.date_select :date_start %>
  </p>
  <p>
    <%= f.label :date_end %><br />
    <%= f.date_select :date_end %>
  </p> -->
  <p>
    <%= f.label :need_credit_card %><br />
    <%= f.check_box :need_credit_card %>
  </p>
  <!-- <p>
    <%= f.label :status %><br />
    <%= f.text_field :status %>
  </p> -->
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @trial_period %> |
<%= link_to 'Back', trial_periods_path %>